package db;

import java.util.List;

/**
 * Created by dllo on 17/4/13.
 */
//封装一些对car表的操作 接口内的方法本身就是public static
public interface TableCarOperation  {
    void addCar(CarEntity car);
    void removeCar(int id);
    void updateCar(CarEntity car);
    List<CarEntity>queryCars();
    CarEntity querySelectedCar();
    void changeSelectedCar(int id);
    void changeSelectedCar(CarEntity newSelectedCar);



}
